#pragma once
#include "TextFile.h"
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <ctime>
using namespace std;


class Log {
	
	private: TextFile * textFile;	

	private: TextFile * getTextFile() const;

	private: void setTextFile(TextFile *textFile);

	private: void insertLogHeader();
	
	public: Log();
	
	public: Log(string path);
	
	public: virtual ~Log();

	public: virtual void error(string message);

	public: virtual void info(string message);
	
};


